﻿using Blazui.Admin;
using Microsoft.AspNetCore.Components;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace CityManagementSystem
{
    public partial class MainLayout
    {
        protected List<MenuModel> Menus { get; set; } = new List<MenuModel>();

        protected override void OnInitialized()
        {
            Menus.Add(new MenuModel()
            {
                Label = "示例页面",
                Icon = "el-icon-star-on",
                Route = "/page1"
            });

        }
    }
}
